define(function(){
    // alert('弹窗')
    function Alert(obj){
        Object.assign(this,obj)
        this.init()
    }
    Alert.prototype={
        constructor:Alert,
        init:function(){
            this.move()
        },
        move:function(){
            var that=this;
            this.but.addEventListener('click',(e)=>{    
                var t=e.target;
                t.nextElementSibling.style.display='block'
            })
            this.spans.onclick=()=>{
                this.box.style.display='none'
            }
        }   
    }
    return Alert;
})
document.body.addEventListener